/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.upf.grupof.projectphotos.databases;

import java.io.Serializable;

/**
 *
 * @author fredi
 */
public class Photo implements iPhoto, Serializable{
    private String title;
    private String desc;
    private String format;
    private String resolution;
    private String date;
    private String size;
    private String location;
    private String path;
    private String file;
    private String user;
    
    public Photo(){
       
    }

    public String getTitle() {
        return this.title;
    }

    public String getDesc() {
        return this.desc;
    }

    public String getFormat() {
        return this.format;
    }

    public String getResoultion() {
        return this.resolution;
    }

    public String getDate() {
        return this.date;
    }

    public String getSize() {
        return this.size;
    }

    public String getLocation() {
        return this.location;
    }

    public String getPath() {
        return this.path;
    }
    
    public String getFile() {
        return this.file;
    }

    public String getUser() {
        return this.user;
    }

    public void setTitle(String title) {
        this.title=title;
    }

    public void setDesc(String desc) {
        this.desc=desc;
    }

    public void setFormat(String format) {
        this.format=format;
    }

    public void setResoultion(String w, String h) {
        this.resolution=w + "x" + h;
    }

    public void setDate(String date) {
        this.date=date;
    }

    public void setSize(String size) {
        this.size=size;
    }

    public void setLocation(String location) {
        this.location=location;
    }

    public void setPath(String path) {
        this.path=path;
    }
    
    public void setFile(String file){
        this.file=file;
    }

    public void setUser(String user) {
        this.user=user;
    }
    
}
